package com.mccken.rapid.common.constants;

/**
 * @program: rapid_gateway
 * @description: 网关缓冲区辅助类
 * @author: mccken
 * @create: 2022-01-03 17:58
 **/
public interface RapidBufferHelper {
	
	String FLUSHER = "FLUSHER";
	
	String MPMC = "MPMC";
	
	static boolean isMpmc(String bufferType) {
		return MPMC.equals(bufferType);
	}
	
	static boolean isFlusher(String bufferType) {
		return FLUSHER.equals(bufferType);
	}
}
